#include <stdio.h>

int main() {
	int i, a[10], *m, *n;
	for (i = 0; i < 10; i++)
		scanf ("%d", &a[i]);
	for (m = a; m < a + 10; m++)
		for (n = m; n < a + 11; n++)
			if (*m > *n)
				i = *m, *m = *n, *n = i;
	for (i = 0; i < 10; i++)
		printf ("%d\t", a[i]);
}
